package com.yyaccp.appinfo.service;

import com.yyaccp.appinfo.domain.DataDictionary;
import com.yyaccp.appinfo.mapper.DataDictionaryMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DataService {
    @Autowired
    private DataDictionaryMapper dataDictionaryMapper;

    public List<DataDictionary> search(String typeCode) {
       return dataDictionaryMapper.selectByTypeCode(typeCode);
    }
}
